<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">



    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">姓名:</label>
        <div class="col-xs-12 col-sm-4">
            {$row.truename|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">昵称:</label>
        <div class="col-xs-12 col-sm-4">
            {$row.truename|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label for="c-gender" class="control-label col-xs-12 col-sm-2">性别:</label>
        <div class="col-xs-12 col-sm-8">
            {if $row.sex eq 0 }
			女
			{else}
			男
			{/if}
        </div>
    </div>
    <div class="form-group">
        <label for="c-username" class="control-label col-xs-12 col-sm-2">手机号:</label>
        <div class="col-xs-12 col-sm-4">
            {$row.truename|htmlentities}
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">客户类型:</label>
        <div class="col-xs-12 col-sm-4">
			{if $row.vip eq 1}
			VIP客户
			{else}
			普通客户
			{/if}
        </div>
    </div>
	
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">户型区域:</label>
        <div class="col-xs-12 col-sm-4">
			{$row.num_fang}房
			{$row.num_ting}厅
        </div>
    </div>
    <div class="form-group">
        <label for="c-mianji" class="control-label col-xs-12 col-sm-2">房屋面积:</label>
        <div class="col-xs-12 col-sm-4">
			{$row.mianji} m<sup>2</sup>
		</div>
    </div>
	
    <div class="form-group">
        <label for="c-house_state" class="control-label col-xs-12 col-sm-2">房屋状态:</label>
        <div class="col-xs-12 col-sm-4">
		{$row.house_state}
		</div>
    </div>
	
    <div class="form-group">
        <label for="c-house_type" class="control-label col-xs-12 col-sm-2">户型类别:</label>
        <div class="col-xs-12 col-sm-4">
		{$row.house_type}
		</div>
    </div>


    <div class="form-group">
        <label for="c-mobile" class="control-label col-xs-12 col-sm-2">绑定工号:</label>
        <div class="col-xs-12 col-sm-4">
		<select name="row[yg_id]" class="form-control">
		{foreach name="yg_list" item="vo"}
		<option value="{$vo.id}" {if $vo.id eq $row.yg_id} selected="selected"{/if}>{$vo.truename}
		{/foreach}
		</select>
		
				
        </div>
    </div>



</form>
